// <script src="http://code.jquery.com/jquery-latest.js"></script>
	// http://fuwu.taobao.com/serv/GetRecScore.htm?userId=27390555&itemCode=ts-30901-1&serviceCode=ts-30901
	// 读取当前评分记录
	$(function(){    
		$.ajax({ //no need to judge the browser type  
			type: "GET", //类型  
			url: "http://fuwu.taobao.com/score/my_score.htm?tracelog=my_service", //请求访问的servlet  
			dataType: "jsonp",     
			// data: {'param1':$("#param1").val(),'param2':$("#param2").val()}, //传递的参数  
			// jsonp         : "callback", //传递给请求处理程序或页面的，用以获得jsonp回调函数名的参数名(一般默认为:callback)
			// jsonpCallback : function(data,d1){
				// $(".if").text("tet"+data+d1);
			// }, //自定义的jsonp回调函数名称，默认为jQuery自动生成的随机函数名，也可以写"?"，jQuery会自动为你处理数据
			// scriptCharset:"UTF-8",
			// traditional:true,
			// ifModified:false,
			// processData:false,
			// statusCode:200,
			crossDomain:true,
			success: function(returnedData,d1,d2,d3,d4){   //成功返回的回调函数  
				$(".if").text("ok"+returnedData+d1+d2.status+d2.statusText+d2.statusCode);  
			},
			error:function(data,d1,d2,d3,d4){
				$(".if").text("error"+data.readyState+data.error+d1+d2+data.res+data.e);  
			}
		});
    }); 
	
	
function printAllObject( o, maxLevel, level ) {  
    if ( typeof level == "undefined" ) {  
        level = 0;  
    }  
    if ( typeof level == "undefined" ) {  
        maxLevel = 0;  
    }  
  
    var str = '';  
    // Remove this if you don't want the pre tag, but make sure to remove  
    // the close pre tag on the bottom as well  
    if ( level == 0 ) {  
        str = '';  
    }  
  
    var levelStr = '';  
    for ( var x = 0; x < level; x++ ) {  
        levelStr += ' ';  
    }  
  
    if ( maxLevel != 0 && level >= maxLevel ) {  
        str += levelStr + '...';  
        return str;  
    }  
  
    for ( var p in o ) {  
        if ( typeof o[p] == 'string' ) {  
            str += levelStr +  
                p + ':' + o[p] + '';  
        } else {  
            str += levelStr +  
                p + ': { ' + printAllObject( o[p], maxLevel, level + 1 ) + levelStr + '}';  
        }  
    }  
  
    // Remove this if you don't want the pre tag, but make sure to remove  
    // the open pre tag on the top as well  
    if ( level == 0 ) {  
        str += '';  
    }  
    return str;  
};  